﻿using System;
using System.Configuration;

namespace Facebook.Configuration
{
    public class FacebookApplicationElement : ConfigurationElement
    {
        [ConfigurationProperty("environment", IsKey = true, IsRequired = false)]
        public String Environment
        {
            get { return (String)this["environment"]; }
            set { this["environment"] = value; }
        }

        [ConfigurationProperty("apiKey", IsKey = true, IsRequired = true)]
        public String ApiKey
        {
            get { return (String)this["apiKey"]; }
            set { this["apiKey"] = value; }
        }

        [ConfigurationProperty("secret", IsRequired = true)]
        public String Secret
        {
            get { return (String)this["secret"]; }
            set { this["secret"] = value; }
        }
    }
}